import {createRouter, createWebHashHistory} from "vue-router"

export default createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: "/",
            redirect: "/start"
        },
        {
            path: "/start",
            name: "Start",
            component: () => import("../page/Start.vue")
        },
        {
            path: "/float-down-demo",
            name: "FloatDownDemo",
            component: () => import("../page/FloatDownDemo.vue")
        },
        {
            path: "/compass-clock-demo",
            name: "CompassClockDemo",
            component: () => import("../page/CompassClockDemo.vue")
        },
        {
            path: "/code-rain-demo",
            name: "CodeRainDemo",
            component: () => import("../page/CodeRainDemo.vue")
        },
        {
            path: "/rotate-cards-demo",
            name: "RotateCardsDemo",
            component: () => import("../page/RotateCardsDemo.vue")
        },
        {
            path: "/fire-works-demo",
            name: "FireWorksDemo",
            component: () => import("../page/FireWorksDemo.vue")
        }
    ]
})